$OpenBSD: patch-src_Glide64_Main_cpp,v 1.1 2016/09/11 10:45:13 naddy Exp $
--- src/Glide64/Main.cpp.orig	Sun Apr 26 21:32:36 2015
+++ src/Glide64/Main.cpp	Sun Sep 11 02:17:37 2016
@@ -1182,7 +1182,7 @@ int InitGfx ()
     char strSstWinOpenExt[] ="grSstWinOpenExt";
     GRWINOPENEXT grSstWinOpenExt = (GRWINOPENEXT)grGetProcAddress(strSstWinOpenExt);
     if (grSstWinOpenExt)
-      gfx_context = grSstWinOpenExt ((FxU32)NULL,
+      gfx_context = grSstWinOpenExt (0,
       res_data,
       GR_REFRESH_60Hz,
       GR_COLORFORMAT_RGBA,
@@ -1192,7 +1192,7 @@ int InitGfx ()
       1);   // 1 auxillary buffer
   }
   if (!gfx_context)
-    gfx_context = grSstWinOpen ((FxU32)NULL,
+    gfx_context = grSstWinOpen (0,
     res_data,
     GR_REFRESH_60Hz,
     GR_COLORFORMAT_RGBA,
